<template>
	<div>
		{{ $route.meta.label }}页面
		<div @click="test">点击</div>
	</div>
</template>

<script>
export default {
	$$route: {
		name: 'main',
		meta: {
			label: '首页'
		}
	},
	methods: {
		test() {
			this.$router.go(-1);
		}
	}
};
</script>

<style></style>
